- /* snmalloc.cpp by K.Tsuru */
- // function ID = 110
- /**************************************
- SNumber class
- It allocates the memory of figure[].
- Exept the argument "copy" the constructor
- SNumber( NumberType tp, uint fsz)
- has the almost same function.
- **************************************/
- #ifndef SN_H
- #include "sn.h"
- #endif
- void SNumber::FigureAlloc(uint size, int copy){
- //When the size which is greater than the minimum size is requested
- //it takes into the irreducible size mode.
- if(size > minArraySize) CutDown(DISABLE);
- if(size) valloc(size, copy); //It includes detecting error.
- else SizeZero();
- }
snmalloc.cpp : last modifiled at 2015/11/27 16:02:56(634 bytes)
created at 2016/04/11 11:36:47
The creation time of this html file is 2017/10/27 10:59:17 (Fri Oct 27 10:59:17 2017).